<%-- 
    Document   : lista-roles
    Created on : 26/03/2010, 01:27:31 AM
    Author     : Javero
--%>

<%@page contentType="application/json" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<s:set id="i" value="0"/>
{
    roles:
    [
        <s:iterator value="%{lstRoles}">
            <s:if test="%{#i>0}">,</s:if>
            {
                nrolIdentificador: ${nrolIdentificador},
                crolDescripcion: "${crolDescripcion}",
                brolHabilitado: ${brolHabilitado}
            }
            <s:set id="i" value="%{#i+1}"/>
        </s:iterator>
    ]
}
